#ifndef URLCHECKER_H
#define URLCHECKER_H

#include "urlsafefilter.h"
#include "recordurlfilter.h"

class RecordUrlFilter;

class URLChecker
{
public:
    static URLChecker * instance();

    bool check(QString url);

    void addFilter(URLSafeFilter *filter);

private:
    URLChecker();
    static URLChecker * m_URLChecker;

    URLSafeFilter *head;

};

#endif // URLCHECKER_H
